import { memo } from "react";
import { ChildX } from "./childX";
import { ChildY } from "./childY";

export const Parent = memo(() => {
  return (
    <div>
      <div>Parent</div>
      <div>{Math.random()}</div>
      <ChildX />
      <ChildY />
    </div>
  );
});
